//
//  OERegisterDataController.h
//  OneEightyNine
//
//  Created by apple on 2019/3/3.
//  Copyright © 2019 stoneobs. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^OERegisterDataNormalHandle)(BOOL success,NSString * errorString,NSDictionary * resp);
NS_ASSUME_NONNULL_BEGIN
/************登录注册模块接口请求******************/
@interface OERegisterDataController : NSObject

#pragma mark --发送注册验证码
+ (void)sendGetRegCodeRequestWithPhone:(NSString*)phone handle:(OERegisterDataNormalHandle)handle;
#pragma mark --判断验证码是否正确
+ (void)sendJudgeRegCodeCrrectRequestWithMobile:(NSString*)mobile mobile_code:(NSString*)mobile_code handle:(OERegisterDataNormalHandle)handle;
#pragma mark --注册
+ (void)sendRegisterRequestWithMobile:(NSString*)mobile password:(NSString*)password handle:(OERegisterDataNormalHandle)handle;

#pragma mark --发送找回密码验证码
+ (void)sendGetFindPwdCodeRequestWithMobile:(NSString*)mobile handle:(OERegisterDataNormalHandle)handle;
#pragma mark --判断找回验证码是否正确
+ (void)sendJudgeFindPwdCodeCrrectRequestWithMobile:(NSString*)mobile mobile_code:(NSString*)mobile_code handle:(OERegisterDataNormalHandle)handle;
#pragma mark --找回密码
+ (void)sendChangeFindPwdRequestWithMobile:(NSString*)mobile password:(NSString*)password handle:(OERegisterDataNormalHandle)handle;

#pragma mark --登录
+ (void)sendLoginRequestWithMobile:(NSString*)mobile password:(NSString*)password handle:(OERegisterDataNormalHandle)handle;
@end

NS_ASSUME_NONNULL_END
